import { createAPI, createFormAPI } from '@/utils/request'

export const insertSowMatingInformation = data => createFormAPI('/admin/sowMatingInformation', 'post', data)
export const deleteSowMatingInformation = data => createAPI(`/admin/sowMatingInformation/${data.id}`, 'delete', data)
export const updateSowMatingInformation = data => createAPI('/admin/sowMatingInformation', 'put', data)
export const selectSowMatingInformation = data => createAPI('/admin/sowMatingInformation', 'get', data)
export const sowMatingInformationNum=data =>createAPI('/admin/sowMatingInformationNum',"get",data)
